package handler

import "temp/model"

type LoginRequest struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
	Account  string `json:"account,omitempty"`
}

type LoginResponse struct {
	Token        string `json:"token,omitempty"`
	RefreshToken string `json:"refreshToken,omitempty"`
	Expired      int64  `json:"expired" `
}

type RegisterRequest struct {
	Name     string `json:"name" example:"john_doe"`
	Password string `json:"password" example:"password123"`
}

type UserResponse struct {
	Data model.User `json:"data"`
}
